package cn.com.nes.site.module.service.monitor;

import cn.com.nes.site.entity.DataReq;
import cn.com.nes.site.entity.PageData;
import cn.com.nes.site.module.dao.monitor.TaskDaoImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TaskService {

    @Resource
    private TaskDaoImpl impl;


    public PageData addControlTask(DataReq req) throws Exception {
        return impl.addControlTask(req);
    }

    public PageData getControlTasks(DataReq req) throws Exception {
        return impl.getControlTasks(req);
    }

    public PageData deleteControlTask(DataReq req) throws Exception {
        return impl.deleteControlTask(req);
    }

}
